<div id="header" xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:spring="http://www.springframework.org/tags"
	xmlns:sec="http://www.springframework.org/security/tags" version="2.0">
	
	<jsp:directive.page contentType="text/html;charset=UTF-8" />
	<jsp:output omit-xml-declaration="yes" />

	<spring:message code="label_logout" var="labelLogout" />
	<spring:message code="label_welcome" var="labelWelcome" />

	<spring:url var="logoutUrl" value="/j_spring_security_logout" />


	<sec:authorize access="isAuthenticated()">${labelWelcome}
<sec:authentication property="principal.username" />
		<br />
		<a href="${logoutUrl}">${labelLogout}</a>
	</sec:authorize>
</div>